package com.star.config.api.service;


import com.star.config.api.contract.query.UserTenantConfigQuery;
import com.star.config.api.contract.vo.UserTenantConfigVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 配置中心api
 *
 * @author zhouhengzhe
 */
@FeignClient(name = "config-service", contextId = "ConfigApi", path = "/api/config")
public interface ConfigApi {

    @PostMapping("/detailByTenantId")
    UserTenantConfigVO getUserTenantConfig(UserTenantConfigQuery query);


}
